<script>
	export default {
		globalData:{
			uid:''
		},
		onLaunch: function() {
			
			console.log('App Launch')
		},
		onShow: function() {
			const token = uni.getStorageSync('uni_id_token');
			if(!token) uni.reLaunch({
				url:'pages/user/login'
			})
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
